import { createMemoryHistory, createRouter } from 'vue-router'

import IndexView from '../components/index.vue'


const routes = [
  {
      path: '/',
      name: 'index',
      component: IndexView,
      meta: { title: '首页' },
      children: [
      ]
    },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes,
})

export default router
